home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000399_news@columbia.edu_Mon Nov 13 20:01:06 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA26647
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun>); Thu, 16 Nov 1995 08:36:48 -0500
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.6.12/8.6.12) id IAA06118 for kermit.misc@watsun; Thu, 16 Nov 1995 08:36:45 -0500
  4. Path: news.columbia.edu!spcuna!news.wctc.net!chi-news.cic.net!newsxfer.itd.umich.edu!news.mathworks.com!news.kei.com!newsstand.cit.cornell.edu!newsfeed.cit.cornell.edu!newstand.syr.edu!usenet
  5. From: vefatica@syr.edu (Vincent Fatica)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: A K95/W95 trick
  8. Date: Mon, 13 Nov 1995 20:01:06 GMT
  9. Organization: Syracuse University
  10. Lines: 50
  11. Message-Id: <4887ui$s32@newstand.syr.edu>
  12. Reply-To: vefatica@syr.edu
  13. Nntp-Posting-Host: sudial-66.syr.edu
  14. X-Newsreader: Forte Free Agent 1.0.82
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. Well, it's not actually a trick, rather a convenient use of the capabilities
  18. of Windows95 and Kermit95.
  19.  
  20. I have an oft-used entry called "Telnet gamera" in the K95 dialer. When I
  21. use the dialer to get to gamera, the dialer writes the script
  22. k95\tmp\telnet_gamera.scr then starts the "engine" (k95.exe) telling it to
  23. "take" the script. This is how the dialer starts all connections.
  24.  
  25. 1. I told the dialer to save this script by putting "set startup-file keep"
  26.     in k95.ini
  27.  
  28. 2. I copied tmp\telnet_gamera.scr to scripts\gamera.ksc (use any extension
  29.     here which has no W95 associations; don't use "scr" since W95
  30.     thinks they're screensaver files)
  31.  
  32. 3. In Explorer/View/Options/FileTypes, I created the file type "Kermit
  33.     script", assigned it the extension ".ksc" and associated it 
  34.     with the action:
  35.  
  36.          c:\k95\k95.exe -SC "take %1"
  37.  
  38. (This is literal; S means "stay" [don't exit upon return to the K95 prompt];
  39.  
  40. C means execute the Kermit command that follows)
  41.  
  42. Voila! double-click "gamera.ksc" (or a shortcut to it) and a few moments
  43. later, I'm sitting at gamera's prompt. I put a shortcut to "gamera.ksc" in
  44. my start menu, and now a single click gets me there without messing with the
  45. dialer ... convenient!
  46.  
  47. And I discovered that the ksc file did not have to be anywhere special, 
  48. since Windows95 passes a fully qualified drive:\path\name (%1) to K95.exe.
  49.  
  50. And, of course, when Explorer shows me one of these ksc files in a folder 
  51. (with details) it identified as being of the type "Kermit script".
  52.  
  53. Enjoy!
  54.  
  55.  - Vince
  56.  
  57.  
  58.  
  59.  - Vince
  60.  
  61. *************************************
  62.    Vincent Fatica
  63.    Syracuse University Mathematics
  64.    vefatica@syr.edu
  65. *************************************
  66.